home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: comp.vuw.ac.nz!HERMES!maths!peterm
- From: peterm@maths.grace.cri.nz (Peter McGavin)
- Subject: Re: AddIntServer + VERTB strangeness
- <PETERM.96Apr4234146@tui.maths.irl.cri.nz><1380.6669T1116T2575@gramercy.ios.com>
- <PETERM.96Apr7124019@tui.maths.irl.cri.nz>
- <731.6672T1195T1500@gramercy.ios.com>
- Message-ID: <PETERM.96Apr15143359@tui.maths.irl.cri.nz>
- Date: 15 Apr 1996 02:33:59 GMT
- Organization: Industrial Research Ltd
- In-reply-to: larrymb@gramercy.ios.com's message of 9 Apr 1996 17:54:30 GMT
-
- larrymb@gramercy.ios.com (Pacarana) writes:
- >>Did you try an input-handler?
- > Yeah, it didn't seem to help enough. Perhaps some extra special had to be
- >done that I missed. I also vaguely remember odd remnant stuff could get left
- >over.
-
- If we go as far as patching LoadView() with SetFunction(), then we
- have to leave a stub behind the first time. Other than that, I can't
- think of anything that would get left over.
-
- >It seemed that keyboard presses could pause the shell and cause the
- >program to wait and other odd stuff.
-
- The point of the input-handler is to intercept keyboard input and
- other input events before they get to the shell or Intuition. So yes,
- the shell and the mouse-pointer will appear to freeze w.r.t. input
- until the input-handler is removed. This is the OS-legal way of
- stealing CPU time off the shell and Intuition for the game.
-
- Perhaps the program waited because it tried reading input from
- Intuition or the shell. That is, perhaps it tried reading through an
- input pipeline that was blocked by the input-handler.
-
- BTW, keyboard and mouse input for the game can be taken efficiently
- and compatibly straight from the input-handler. There is no need to
- go to the hardware. The mouse-pointer can be turned off with
- SetPointer() if desired.
-
- >It was quite some time since I messed
- >with that though, so I'm not quite sure what the exact situation was. Soeof
- >the stuff was before an Input Hadnler install was tried, but I think some
- >troubles still existed even after those attempts.
-
- Beats me.
-
- Oh, one catch --- some screen blankers could activate when starved of
- input events for too long. It might pay to let an event through once
- in a while, or generate a phantom one, perhaps.
- --
- Peter McGavin. (p.mcgavin@irl.cri.nz)
-
-